﻿using System;

namespace Flagwind.Expressions.Tokenization
{
	public class KeywordTokenizer : LiteralTokenizerBase
	{
		#region 构造方法

		public KeywordTokenizer(params string[] keywords) : base(false, keywords)
		{
		}

		#endregion

		#region 重写方法

		protected override Token CreateToken(string literal)
		{
			return new Token(TokenType.Keyword, literal);
		}

		#endregion
	}
}